package org.christopher.mybatisplusdemo.service;

import org.christopher.mybatisplusdemo.common.UserCondition;
import org.christopher.mybatisplusdemo.entity.User;

import java.util.List;

public interface UserService {

    List<User> selectUserAll();

    List<User> selectUserByIds(List<Integer> ids);

    User selectUserById(Integer id);

    User loginUser(User user);

    int selectUserCount(User user);

    int addUser(User user);

    int updataUser(User user);

    int updateUser2(User user);

    int deleteUser(Integer id);

    List<User> selectUserAllByCondition(UserCondition condition);
}
